import request from '@/utils/axios'
import store from '@/store'

// 获取就诊记录  (消化内科)
export const getVisitRecord = (params: any, isAllList: any) => {
  if (isAllList) {
    return request.get({
      url: '/disease/manage/patient/list-all-visit-record',
      params: params
    })
  } else {
    return request.get({
      url: '/disease/manage/patient/list-visit-record',
      params: params
    })
  }
}
